Fk:loadTranslationTable{
  ["plum__yuzhi_recast"] = "鱼炙[铸]",
  [":plum__yuzhi_recast"] = "",

  ["#plum__yuzhi_recast"] = "鱼炙：可以重铸“鱼炙”牌",
}

local mark_tab = { "#plum__yuzhi-heat", "#plum__yuzhi-smelly", "#plum__rotted" }

local yuzhi = fk.CreateSkill{
  name = "plum__yuzhi_recast",
}

yuzhi:addEffect("active", {
  anim_type = "drawcard",
  prompt = "#plum__yuzhi_recast",
  card_num = 1,
  card_filter = function (self, player, to_select, selected)
    if #selected == 0 then
      return Fk:getCardById(to_select):getMark("@plum__yuzhi-inhand") == Fk:translate(mark_tab[3])
    else
      return false
    end
  end,
  target_num = 0,
  target_filter = Util.FalseFunc,
  on_use = function (self, room, effect)
    local player = effect.from
    room:recastCard(effect.cards, player, "plum__yuzhi")
  end
})

return yuzhi